#include <iostream>
using namespace std;
void test(int *a)
{
    cout << &a;
}

int main()
{
    int b = 1;
    try
    {
        int a = 2;
        throw a;
    }
    catch (int e)
    {
        std::cerr << "错误" << '\n';
    }
}
